package com.breeze.components.task.xxl;

import java.time.Duration;
import java.time.Instant;
import java.util.concurrent.ScheduledFuture;
import org.springframework.scheduling.TaskScheduler;
import org.springframework.scheduling.Trigger;

/**
 * 空调度器
 *
 * @author breeze
 */
public class NoOpScheduler implements TaskScheduler {
  @Override
  public ScheduledFuture<?> schedule(Runnable task, Trigger trigger) {
    return null;
  }

  @Override
  public ScheduledFuture<?> schedule(Runnable task, Instant startTime) {
    return null;
  }

  @Override
  public ScheduledFuture<?> scheduleAtFixedRate(Runnable task, Instant startTime, Duration period) {
    return null;
  }

  @Override
  public ScheduledFuture<?> scheduleAtFixedRate(Runnable task, Duration period) {
    return null;
  }

  @Override
  public ScheduledFuture<?> scheduleWithFixedDelay(
      Runnable task, Instant startTime, Duration delay) {
    return null;
  }

  @Override
  public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, Duration delay) {
    return null;
  }
}
